package com.yuantu.judiciary.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 账号信息数据
 *
 * @author syw
 * @since 2023-08-12
 **/
@Data
@ApiModel("优惠码检测")
public class DiscountCodeVO {


    @ApiModelProperty("优惠码id")
    private Long discountCodeId;
    @NotNull(message = "不能为空")
    @ApiModelProperty("优惠价格")
    private Double discountPrice;
    @NotBlank(message = "不能为空")
    @ApiModelProperty("优惠码")
    private String discountCode;
    @ApiModelProperty("账号信息")
    private String accountInfo;
    @ApiModelProperty("所属人名称")
    private String owner;
    @ApiModelProperty("使用次数")
    private Integer useTimes;

}
